<template>
	<view>
		<comHeader :config="navConfig" />
		<view class="today"><text>*请选择反馈问题的类型</text></view>
		<view class="man">
			<view class="texts">
				<view class="big">性能体验</view>
				<view class="small">卡顿、闪退、图片出不来</view>
			</view>
			<view>
				<switch color="#74C146" @change="switch2Change" />
			</view>
		</view>
		<view class="man">
			<view class="texts">
				<view class="big">功能异常</view>
				<view class="small">现有功能无法正常使用</view>
			</view>
			<view>
				<switch color="#74C146" @change="switch2Change" />
			</view>
		</view>
		<view class="man">
			<view class="texts">
				<view class="big">其他反馈</view>
				<!-- <view class="small">卡顿、闪退、图片出不来</view> -->
			</view>
			<view>
				<switch checked="true" color="#74C146" @change="switch2Change" />
			</view>
		</view>
		<view class="today"><text>*问题和意见</text></view>
		<textarea name="comment" id="comment" placeholder="请详细描述您遇到的问题，上传页面截图帮助更快解决！"></textarea>
		<view class="today"><text>*提供问题截图</text></view>
		<view class="photoKuang">
			<image src="../../../../static/myPic/photoAdd.png" mode=""></image>
		</view>
		
		
	</view>
</template>

<script>
	import uniIcon from "@/components/uni-icon/uni-icon.vue"
	export default {
		components: {
			uniIcon
		},
		data() {
			return {
				navConfig: {
					isFixed: false, //是否absolute布局
					comScroll:0,
					left: {
	
						isShowLeft: true,
						leftGobackColor: 'black', //左边返回icon颜色
					},
					mid: {
						isShowMid: true,
						text: '问题反馈',
						textColor: '#000'
					},
					right: {
						text: '',
						isShowRight: false,
						ico: '', //右侧图标地址
						isShowRightIco: '' //是否显示右侧图标
					}
				},
			}
		},
		methods: {
			switch1Change: function(e) {
				console.log('switch1 发生 change 事件，携带值为', e.target.value)
			},
			switch2Change: function(e) {
				console.log('switch2 发生 change 事件，携带值为', e.target.value)
			},
		},
	}
</script>

<style>
	.today{
		width: 750upx;
		height: 80upx;
		background: #F6F6F6;
		margin-top: 100upx;
	}
	.today text{
		width: 300upx;
		height: 28upx;
		font-size: 28upx;
		font-family: PingFang SC Regular;
		color: #FF3600;
		padding: 20upx 0 0 40upx;
		position: absolute;
	}
	.man {
		display: flex;
		justify-content: space-between;
		width: 90%;
		margin: auto;
		padding: 25upx 0upx;
		border-bottom: 1px solid #EEEEEE;
	}
	.texts{
		display: flex;
		flex-direction: row;/*控制方向 --*/
		justify-content: space-between; /*对齐方式*/
		align-items: center;/*行高*/
	}
	.big{
		font-size: 26upx;
		margin-top: 15upx;
	}
	.small{
		color: #999999;
		font-size: 26upx;
		margin-top: 15upx;
		margin-left: 50upx;
	}
	#comment{
		width: 750upx;
		height: 336upx;
		box-shadow: 0upx 0upx 15upx 0upx rgba(232,232,232,1);
		border-radius: 10upx 10upx 10upx 10upx;
		margin-top: 5upx;
		font-size: 26upx;
	}
	.photoKuang{
		width: 750upx;
		height: 200upx;
		box-shadow: 0upx 0upx 15upx 0upx rgba(232,232,232,1);
		border-radius: 10upx 10upx 10upx 10upx;
		margin-bottom: 50upx;
	}
	.photoKuang image{
		width: 94upx;
		height: 94upx;
		margin-left:45upx;
		margin-top: 50upx;
	}
</style>
